Inverse of matrix using LU decomposition method